Namespace - LJCNetCommon
Parameters
bytes - The Text byte array.
Returns
The Base64 string.
Syntax
C# |
public static String TextBytesToBase64(Byte[] bytes)
|
Encodes a Text byte array to a Base64 value. (E)
Example
C# |
using LJCNetCommon;
public static void TextBytesToBase64()
{
byte[] TextBytes = NetCommon.TextToBytes("Text");
string base64 = NetCommon.TextBytesToBase64(TextBytes);
string text = NetCommon.Base64ToText(base64);
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.